<template>
    <div>
        <router-link to="/home">点我去首页</router-link>
        <router-link to="/chatroom">点我去聊天</router-link>
        <router-view></router-view>
        <!-- 此处会根据路由的改变，匹配路由规则，显示对应的组件-->
    </div>
</template>
<script>
export default {
    data() {
        return {

        }
    }
}
</script>
<style>
</style>
